package top.continew.admin.sport.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import top.continew.admin.sport.model.resp.ProjectRefereeResp;
import top.continew.starter.data.mybatis.plus.base.BaseMapper;
import top.continew.admin.sport.model.entity.ProjectRefereeDO;

import java.util.List;

/**
* 项目裁判 Mapper
*
* @author xiahaike
* @since 2024/09/15 09:22
*/
public interface ProjectRefereeMapper extends BaseMapper<ProjectRefereeDO> {
    IPage<ProjectRefereeResp> myPage(@Param("page") IPage<Object> page,
                                     @Param(Constants.WRAPPER) QueryWrapper<ProjectRefereeDO> queryWrapper,
                                     @Param("projectId") Long projectId);
}